<ul id="menu">
    <li>
        <a href="<?php echo $this->baseUrl(); ?>/fases/formulario">Inserir Novo Registro</a>
    </li>
    <li>
        <a href="javascript:history.back();">Voltar</a>
    </li>
    <hr />
</ul>

<div id="listagem" class="clear">
<br />
<table width="95%" cellpadding="5" align="center">
    <tr>
        <th width="5%" align="left">Ação</th>
        <th width="50%" align="left">Nome</th>
    </tr>
    <?php foreach($this->fases as $indice => $fase): ?>
    <tr>
        <td>
            <a href="<?php echo $this->baseUrl(); ?>/fases/excluir/id_fase/<?php echo $fase->id_fase;?> ">excluir</a>
        </td>
        <td bgcolor="<?php echo ($indice % 2 == 0) ? ' #DFDFDF' : '#F4F4F4'; ?>">
            <a href="<?php echo $this->baseUrl(); ?>/fases/formulario/id_fase/<?php echo $fase->id_fase;?> "><?php echo $fase->st_nome; ?></a>
        </td>
    </tr>
    <?php endforeach; ?>
</table>
</div>